package com.hyz.asset.service.impl;

import com.hyz.asset.mapper.AssetMapper;
import com.hyz.asset.pojo.Asset;
import com.hyz.asset.service.AssetService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author HGD
 * @date 2022/10/1 12:20
 */
@Service
public class AssetServiceImpl implements AssetService {
    @Resource
    private AssetMapper assetMapper;

    @Override
    public List<Asset> getAllUnassignedAssets() {
        return assetMapper.getAllUnassignedAssets();
    }
}
